package com.csce.domain.entity.score.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.osce.common.core.entity.BaseEntity;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 管理对象 score_score_dto
 *
 * @author zzx
 * @since 2023-08-16
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
@EqualsAndHashCode(callSuper = true)
public class ScoreScoreDto extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "请选择考试")
    private Long examId;

    @JsonFormat(pattern = "yyyy-DD-MM")
    private Date date;

    private String userName;

    private String scoreOrder;
}
